<?php
/**
 * Description:
 * Author: hezhizheng
 * Date: 2018/11/13
 * Time: 16:54
 * Created by Created by Panxsoft.
 */

namespace App\Models\Categories;


use App\Models\Concerns\HasCompositePrimaryKey;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Model;

/**
 * Class CategoryToStore
 * @package App\Models\Categories
 * @mixin Builder
 */
class CategoryToStore extends Model
{
    use HasCompositePrimaryKey;
    
    protected static $unguarded = true;

    protected $table = 'category_to_store';

    public $incrementing = false;

    protected $primaryKey = ['category_id', 'store_id'];
}